/***************************************************
 @Name :        小铭同学
 @Time :        2025-09-03
 @Email :       LiaoMingWJ233@163.com
 @Comment :     LED灯 设备驱动控制
 @FileName :    leddevice.h
 @Version :     1.0
****************************************************/


#ifndef LEDDEVICE_H
#define LEDDEVICE_H

#include <QWidget>

extern "C"
{
#include "hal_device.h"
}

class ledDevice : public QWidget
{
    Q_OBJECT
public:
    explicit ledDevice(QWidget *parent = nullptr);
   
    int led_On(int nr);
    int led_Off(int nr);
    int led_all_On();
    int led_all_Off();
    
signals:
    
};

#endif // LEDDEVICE_H
